let local = 1; // 1 正式  2 业务测试  3本地
let BASE;
let BASE_URL;
let IMAGE_URL;
let Setting_URL;

switch (local) {
	case 1: // 正式
		BASE = '';
		BASE_URL = BASE + 'https://www.gxuad.com/szcg/'; //登录
		IMAGE_URL = BASE + 'https://www.gxuad.com/gx-file/'; //图片
		Setting_URL = BASE + 'https://www.gxuad.com/gx-api/'; // 更新版本
		break
	case 2: // 业务测试
		BASE = '';
		BASE_URL = BASE + 'https://www.findoma.com/cbe-api/';
		IMAGE_URL = BASE + 'https://www.gxuad.com/gx-file/';
		Setting_URL = BASE + 'https://www.gxuad.com/gx-api/';
		break
	case 3: // 本地联调
		BASE = '';
		BASE_URL = BASE + 'http://192.168.100.69:80/';
		IMAGE_URL = BASE + 'http://192.168.100.69:8081/szcg/';//'http://192.168.100.69:8081/profile/';
		Setting_URL = BASE + 'http://f9673bac.nat3.nsloop.com/gx-api/';
		break
}

const URL = {
	CASEIMAGE_URL: IMAGE_URL,
	Setting: Setting_URL,
	BASE_URL: BASE_URL
}

export default URL;
